﻿using Furion.DatabaseAccessor;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkerService1.DbContexts
{
    [Table("Workflow", Schema = "wfc")]
    public partial class Workflow : IEntity
    {
        [Key]
        public long PersistenceId { get; set; }
        public DateTime? CompleteTime { get; set; }
        public DateTime CreateTime { get; set; }
        public string Data { get; set; }
        public string Description { get; set; }
        public Guid InstanceId { get; set; }
        public long? NextExecution { get; set; }
        public Int32 Status { get; set; }
        public Int32 Version { get; set; }
        public string WorkflowDefinitionId { get; set; }
        public string Reference { get; set; }
    }
}
